package com.ruoyi.recycle.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 物流支出统计对象 logistics_expenditure_statistics
 *
 * @author Wubk
 * @date 2022-05-22
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel("物流支出统计搜索请求体")
public class LogisticsExpenditureStatisticsDTO {
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @ApiModelProperty(name = "id", value = "物流支出统计id", dataType = "Long")
    private Long id;

    /**
     * 订单编号
     */
    @Excel(name = "订单编号")
    @ApiModelProperty(name = "logisticsNumber", value = "订单编号", dataType = "String")
    private String logisticsNumber;

    /**
     * 订单类型
     */
    @Excel(name = "订单类型")
    @ApiModelProperty(name = "logisticsNumber", value = "订单编号", dataType = "String")
    private String logisticsType;

    /**
     * 收货时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "收货时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(name = "consignTime", value = "收货时间", dataType = "Date", notes = "yyyy-MM-dd")
    private Date consignTime;

    /**
     * 重量
     */
    @Excel(name = "重量")
    @ApiModelProperty(name = "weight", value = "重量", dataType = "BigDecimal")
    private BigDecimal weight;

    /**
     * 金额
     */
    @Excel(name = "金额")
    @ApiModelProperty(name = "money", value = "金额", dataType = "BigDecimal")
    private BigDecimal money;

    /**
     * 物流公司
     */
    @Excel(name = "物流公司")
    @ApiModelProperty(name = "logisticsCompany", value = "物流公司", dataType = "String")
    private String logisticsCompany;

    /**
     * 订单状态
     */
    @Excel(name = "订单状态")
    @ApiModelProperty(name = "logisticsStatus", value = "物流公司", dataType = "String")
    private String logisticsStatus;

    /**
     * 创建人
     */
    @Excel(name = "创建人")
    @ApiModelProperty(name = "createdBy", value = "创建人", dataType = "String")
    private String createdBy;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(name = "searchTimeBegin", value = "搜索起始时间", dataType = "Date", notes = "yyyy-MM-dd")
    private Date searchTimeBegin;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(name = "searchTimeEnd", value = "搜索结束时间", dataType = "Date", notes = "yyyy-MM-dd")
    private Date searchTimeEnd;

    /**
     * 更新人
     */
    @ApiModelProperty(name = "updatedBy", value = "更新人", dataType = "String")
    private String updatedBy;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(name = "updatedTime", value = "更新时间", dataType = "Date", notes = "yyyy-MM-dd")
    private Date updatedTime;

    @ApiModelProperty(name = "currentPage", value = "当前页", dataType = "Integer")
    private Integer currentPage = 1;
    @ApiModelProperty(name = "pageSize", value = "页码", dataType = "Integer")
    private Integer pageSize = 10;

}
